package String;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line="abc123de456ghi78";
        line=line.replaceAll("[0-9]+","#number#");
        System.out.println(line);
    }
}
